height,weight=eval(input("请输入身高（米）和体重（公斤）:"))
bmi=weight/pow(height,2)
print("BMI数值为:{:.2f}".format(bmi))
dom=""
if bmi<18.5:
    dom="过轻"
elif 18.5<=bmi<=25:
    dom="正常"
elif 25<bmi<=28:
    dom="过重"
elif 28<bmi<=32:
    dom="肥胖"
else :
    dom="严重肥胖"
print(dom)